auto merge of #702 : tomassedovic/cargo/run-examples, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 29 Oct 2014 19:04:40 +0000 (19:04 +0000)
committerbors <bors@rust-lang.org>
Wed, 29 Oct 2014 19:04:40 +0000 (19:04 +0000)
This lets users run any executable from the `examples` or `bin` directories by
passing its name with `--example` or `--bin` flag.

If neither is specified, we fall back to the old behaviour (running the only bin
target in the project, failing if there are more).

Closes #538


Trivial merge